package br.com.java.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Service;

import br.com.java.dao.ArquivoDAO;
import br.com.java.entities.Aluno;
import br.com.java.entities.Arquivo;
import br.com.java.service.ArquivoService;

@Service
public class ArquivoServiceImpl extends GenericServiceImpl<Arquivo, Long, ArquivoDAO> implements Serializable, ArquivoService{

	private static final long serialVersionUID = -3389418172973889283L;

	@Override
	public List<Arquivo> pesquisarPorAluno(Aluno aluno) {
		return baseDao.retrieveByAluno(aluno);
	}
}
